﻿using System;
using System.Collections.Generic;

namespace MyCryptoChat.BusinessEntities
{
    [Serializable]
    public class ChatRoom
    {
        public string Id { get; set; }
        public DateTime DateCreation { get; set; }
        public List<ChatMessage> ChatLines { get; set; }
        public DateTime DateLastNewMessage { get; set; }
        public List<ChatUser> ConnectedUsers { get; set; }

        public int NbMinutesToLive { get; set; }

        public bool NoMoreThanOneVisitor { get; set; }
        public string UserId { get; set; }
    }
}